<template>
  <div>
    <loading v-show="showLoading "></loading>
  </div>
</template>

<script>
  import {relogin} from "../components/httpUtil/httpUtil";

  export default {
        name: "middle",
    data(){
          return {
            showLoading:true
          }
    },
      created(){
          window.setTimeout(()=>{
            this.showLoading = false;
            relogin(this)
          },1000)
      },
    mounted(){

    },
    destroyed(){
          window.clearTimeout(0)
    }
    }
</script>

<style scoped>

</style>
